package com.sc.nft.admin.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
public class UpdateCatenaRequest {
    @ApiModelProperty("系列id")
    @NotNull(message = "系列id不能为空")
    private Long id;
    @ApiModelProperty("系列名称")
    @NotNull(message = "系列名称不能为空")
    private String name;
    @NotNull(message = "系列介绍不能为空")
    @ApiModelProperty("系列介绍")
    private String presentation;
}
